package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宝箱信息对象 boxes
 *
 * @author ruoyi
 * @date 2025-05-08
 */
public class Boxes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 宝箱 ID */
    @Excel(name = "宝箱 ID")
    private Long boxId;

    /** 宝箱类别(1普通宝箱 2超级宝箱 ) */
    @Excel(name = "宝箱类别(1普通宝箱 2超级宝箱 )")
    private Integer type;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 宝箱描述，包含开箱可获得的物品等信息 */
    @Excel(name = "宝箱描述，包含开箱可获得的物品等信息")
    private String description;

    /** 每日购买限制次数 */
    @Excel(name = "每日购买限制次数")
    private Long dailyPurchaseLimit;

    public void setBoxId(Long boxId)
    {
        this.boxId = boxId;
    }

    public Long getBoxId()
    {
        return boxId;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setPrice(Long price)
    {
        this.price = price;
    }

    public Long getPrice()
    {
        return price;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setDailyPurchaseLimit(Long dailyPurchaseLimit)
    {
        this.dailyPurchaseLimit = dailyPurchaseLimit;
    }

    public Long getDailyPurchaseLimit()
    {
        return dailyPurchaseLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("boxId", getBoxId())
                .append("type", getType())
                .append("price", getPrice())
                .append("description", getDescription())
                .append("dailyPurchaseLimit", getDailyPurchaseLimit())
                .append("createTime", getCreateTime())
                .toString();
    }
}
